package xcache

import (
	"context"
	"time"
)

//空缓存实现，只是用来占位
type EmptyCache struct {
}

func (m *EmptyCache) Set(ctx context.Context, key string, val interface{}, exp time.Duration) (s string, err error) {
	return "", nil
}

func (m *EmptyCache) Get(ctx context.Context, key string) (s string, err error) {
	return "", nil
}

func (m *EmptyCache) Del(ctx context.Context, key string) (n int64, err error) {
	return 0, nil
}
